﻿using BW.EatRabbit.ErrorCode;
using MediatR;

namespace BW.EatRabbit.API.Write.Application.Commands.Basic_Information
{
    /// <summary>
    /// 基本信息新增命令
    /// </summary>
    public class BasicCreateCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        /// 商品名称
        /// </summary>
        public int GoodsId { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string ProductionBatch { get; set; }

        /// <summary>
        /// 保质期（天）
        /// </summary>
        public int ShelfLife { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string License { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public int Completeness { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string Producer { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string CoverImage { get; set; }
    }
}
